package com.design.mode.creational.abstractfactory;

/**
 * @author liuhuan
 * @date 2018/12/5 11:47
 * @description
 */
public class Test {
    public static void main(String[] args){
        CourseFactory courseFactory=new JavaCourseFactory();
        Vedio vedio=courseFactory.getVedio();
        Article article=courseFactory.getArticle();
        vedio.produce();
        article.produce();
    }
}
